package com.zq.it.dao.exam;

import java.util.Collection;
import java.util.List;

import com.zq.it.pojo.exam.TExam;

/**
 * TExamDAO的接口类
 *
 * @author 王凡
 *
 * @version $ID: TExamDAO.java 2013-3-21 王凡@$
 */

public interface TExamDAO {

	public void save(TExam transientInstance);

	public void delete(TExam persistentInstance);

	public TExam findById(Long id);

	public List findByExample(TExam instance);

	public List findByProperty(String propertyName, Object value);

	public List findBySAnwser(Object SAnwser);

	public List findByScore(Object score);

	public List findByQType(Object QType);

	public List findByExtendField(Object extendField);

	public List findAll();

	public void update(TExam instance);

	public void saveAll(Collection list);

	public void deleteByHql(String hql);

	public List findByHql(String hql);
}